package cn.idongjia.live.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * 直播间POJO类
 * Created by wuqiang on 16/4/7.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ZooLive extends AuthInfo {

    public static final Integer ZOOLIVE_UNBINDED = 0, ZOOLIVE_BINDED = 1,
            ZOOLIVE_AVAILABLE = 1, ZOOLIVE_UNABLE = 0;

    private static final long serialVersionUID = -4888451895399661257L;

    private Integer zlid;       //直播间ID
    private String name;        //直播间名称
    private Integer ztid;       //直播间类型 KP_ZOO_TYPE表ID
    private String chenlid;     //网易云关联的频道ID
    private Integer binded;     //是否已经绑定主播 0-未绑定,1-已绑定
    private Integer status;     //0-不可用,1-可用 此处的状态只代表该直播间在��们的应用中控制的状态,不包括网易频道是否可用

    public ZooLive() {
    }

    public ZooLive(String name, Integer ztid, String chenlid) {
        this.name = name;
        this.ztid = ztid;
        this.chenlid = chenlid;
        this.binded = 0;
        this.status = 1;
    }

    public Integer getZlid() {
        return zlid;
    }

    public void setZlid(Integer zlid) {
        this.zlid = zlid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getZtid() {
        return ztid;
    }

    public void setZtid(Integer ztid) {
        this.ztid = ztid;
    }

    public String getChenlid() {
        return chenlid;
    }

    public void setChenlid(String chenlid) {
        this.chenlid = chenlid;
    }

    public Integer getBinded() {
        return binded;
    }

    public void setBinded(Integer binded) {
        this.binded = binded;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
